﻿using MediatR;
using SmartProduction.ErrorCode;
using System.ComponentModel.DataAnnotations;

namespace SmartProduction.Write.API.Application.Commands.JobCommand_工作中心
{
    public class JobUpdateCommand:IRequest<APIResult<object>>
    {
        /// <summary>
        /// 主键
        /// </summary>
        public int JId { get; set; }
        /// <summary>
        /// 工作中心编码
        /// </summary>
        [StringLength(50)]
        public string JobNode { get; set; }
        /// <summary>
        /// 工作中心名称
        /// </summary>
        [StringLength(50)]
        public string JobName { get; set; }
        /// <summary>
        /// 工作中心类型
        /// </summary>
        [StringLength(50)]
        public string JobType { get; set; }
        /// <summary>
        /// 状态
        /// </summary>
        public int ApprovalStatus { get; set; }
        /// <summary>
        /// 班次
        /// </summary>
        [StringLength(50)]
        public string Shift { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public int? UpdatedBy { get; set; }
        /// <summary>
        /// 修改时间
        /// </summary>
        public DateTime? UpdatedTime { get; set; }
    }
}
